<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 正常调用函数的时候，默认都是window在调用 -->
    <script>
        var name = "张三";
        function show(){
            console.log(this.name);
        }
        function go(){
            var name = "李四"
            show();
        }
        go();
        
        function showOne(){
            var name = "李四"
            console.log(this.name);
        }
        showOne();
    </script>

</body>
</html>